package delete;

import javax.servlet.*;
import java.io.*;
import javax.servlet.http.*;

public class ServletDelete extends HttpServlet{
	
	public void init(ServletConfig config)throws ServletException{
		
		super.init();
	}
	
	public void doGet(HttpServletRequest resquest,HttpServletResponse response)throws ServletException,IOException{
		
		doPost(resquest, response);
	}
	
	public void doPost(HttpServletRequest resquest,HttpServletResponse response)throws ServletException,IOException{
		
		PrintWriter out=response.getWriter();
		out.println("<html>");
		out.println("<head><title>Simple Servlet</title></head>");
		out.println("<body>");
		out.println("this is method delete"+"\n");
		out.println("</body></html>");
		out.close();
	}

}
